<?php
declare (strict_types = 1);

namespace app\controller;

use think\Request;
use app\traits\MyControllerTrait;

class HomeController
{
    use MyControllerTrait;

    public function index()
    {
        $data = [
            'title' => '首页',
            'menus' => $this->getMenuNav()
        ];
        return view('home/index', $data);
    }// index() end
}
